home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sysutils / system~1.tx_ / system~1.tx
Encoding:
Text File  |  1998-10-17  |  1.9 KB  |  65 lines

  1. System Utilities Activex Control 1.0
  2. ------------------------------------
  3.  
  4. This isn't a big readme file for a lot of help,
  5. but it contains some small hints to make great programs.
  6.  
  7. Use the control this way:
  8.  
  9. (A is a variable)
  10. (SystemUtils1 is the name of the control)
  11.  
  12.  
  13. A = SystemUtils1.GetActiveUser          
  14. -> This will put in A the user that's logged in.
  15.  
  16. A = SystemUtils1.GetNumberOfButtons     
  17. -> This will put in A the number of buttons on the mouse.
  18.  
  19. A = SystemUtils1.GetStartupMode        
  20. -> This will put in A the mode in which win95 booted.
  21.  
  22. A = SystemUtils1.GetWindowsDirectory    
  23. -> This will put in A the path to the Windows directory.
  24.  
  25. A = SystemUtils1.GetWindowsRunTime      
  26. -> This will put in A the time of win95 being on.
  27.  
  28. A = SystemUtils1.SetCursor(X, Y)
  29. -> This will set the cursor to point X, Y.
  30.    For example: A = SystemUtils1.SetCursor(10, 20)
  31.    A will contain no returning data!
  32.  
  33. SystemUtils1.HideCursor (True)          
  34. -> This will hide the cursor, (False) will bring it back.
  35.  
  36. SystemUtils1.SwapMouseButtons (True)    
  37. -> This will Swap your mouse buttons, (False) will unswap.
  38.     
  39. SystemUtils1.SetDelay (....)            
  40. -> This will give your program a delay of .... MILLISECONDS.
  41.  
  42. 1. SystemUtils1.UseSpecialKeys = False     
  43. 2. SystemUtils1.UseSpecialKeys = True
  44. -> 1. This will turn off Ctrl+Alt+Delete, Ctrl+Esc etc.
  45.    2. This turns them back on.
  46.  
  47. 1. SystemUtils1.ViewStartmenu = False      
  48. 2. SystemUtils1.ViewStartmenu = True       
  49. -> 1. This will make the Startmenu invisible (Ctrl+Esc still works).
  50.    2. This will make the Startmenu visible again.
  51.  
  52.  
  53.  
  54. Have fun,
  55.  
  56. And enjoy my Activex control.
  57.  
  58.  
  59. ---------------------------------------------------
  60. Yvo van Beek
  61.  
  62. P.s. My e-mail is yvo@dds.nl. Send me your comments
  63.      And you may send this program to your friends,
  64.      neighbours anyone! It's FreeWare.
  65. ---------------------------------------------------